package org.ysu.service;


import com.baomidou.mybatisplus.extension.service.IService;
import org.ysu.pojo.*;

import java.util.List;

/**
* @author libaoyu
* @description 针对表【verifier】的数据库操作Service
* @createDate 2024-06-17 14:59:24
*/
public interface VerifierService extends IService<Verifier> {
    Verifier findByIdNumber(String idNumber);

    List<Verifier> getAllVerifier();

    Integer changeMaster(Integer vid1 ,Integer vid2);

    public Verifier selectByVid(Integer vId);

    /**
     * 返回近data天数，每人每天多少走访记录
     * @param data
     * @return
     */
    Statistics  getInterviews(Integer data);


    CalendarData getCalendar(Integer data);

    StatisticData getStatistic();

    BarData getBarData(Integer data);

    MapData getMapData(String place);

    Verifier getByName(String name);
}
